package com.matrix.java.chap_07;

import com.matrix.java.util.ArrayUtil;

import java.util.Arrays;

/*
    消除重复
 */
public class Ex7_15 {
    public static void main(String[] args) {
        int[] arr = {1, 2, 3, 2, 1, 6, 3, 4, 5, 2};
        System.out.println(Arrays.toString(ArrayUtil.arrayUnrepeated(arr)));
    }
}
